﻿<%@ Page Title="Pesquisa de currículos" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="Pesquisar.aspx.cs" Inherits="PortalCurriculo.WebUI.Curriculo.Pesquisar" %>

<%@ Register Src="~/UserControls/Endereco/Cidade.ascx" TagName="Cidade" TagPrefix="portal" %>
<%@ Register Src="~/UserControls/Basico/TextBoxTexto.ascx" TagName="TextBox" TagPrefix="portal" %>
<%@ Register Src="~/UserControls/Curriculo/VisualizacaoSimples.ascx" TagName="VisualizacaoSimples"
    TagPrefix="portal" %>
<%@ Register Src="~/UserControls/Basico/ImageButton.ascx" TagName="ImageButton" TagPrefix="portal" %>
<%@ Register Src="~/UserControls/Basico/Panel.ascx" TagName="Panel" TagPrefix="portal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        $(function () {
            $('#tabs').tabs();
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HomePage" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageTitle" runat="server">
    <asp:Label runat="server" ID="lblTitulo" Text="Pesquisa de Currículos" CssClass="pageTitle" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Pesquisa rápida</a></li>
            <li><a href="#tabs-2">Pesquisa avançada</a></li>
        </ul>
        <div id="tabs-1">
            <portal:TextBox ID="txtPalavraChave" runat="server" LabelText="Palavra-chave" Width="80.5%" />
            <portal:Cidade ID="Cidade" runat="server" ValidarCidade="false" />
            <asp:LinkButton runat="server" ID="lnkPesquisaRapida" Text="Pesquisar" OnClick="lnkPesquisaRapida_Click" />
        </div>
        <div id="tabs-2">
        </div>
    </div>
    <asp:ListView ID="lsvCurriculo" runat="server" ItemPlaceholderID="phItens" OnItemDataBound="lsvCurriculo_ItemDataBound">
        <LayoutTemplate>
            <div>
                <asp:PlaceHolder ID="phItens" runat="server" />
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <portal:Panel runat="server" ID="PanelCurriculo">
                <Buttons>
                    <div>
                        <portal:ImageButton runat="server" ImageUrl="~/Files/Layout/Buttons/24x24/Curriculo.gif"
                            Orientation="Horizontal" Text="Ver Currículo" ImageCssClass="smallImage" />
                        <portal:ImageButton runat="server" ImageUrl="~/Files/Layout/Buttons/24x24/Mensagem.gif"
                            Orientation="Horizontal" Text="Enviar mensagem" ImageCssClass="smallImage" />
                        <portal:ImageButton ID="imbAdicionarPasta" runat="server" ImageUrl="~/Files/Layout/Buttons/24x24/PastaCheia.gif"
                            Orientation="Horizontal" Text="Adicionar à pasta" ImageCssClass="smallImage" />
                    </div>
                </Buttons>
                <Content>
                    <portal:VisualizacaoSimples ID="Visualizacao" runat="server" />
                </Content>
            </portal:Panel>
        </ItemTemplate>
    </asp:ListView>
    
        
    
</asp:Content>
